class DriverGetIntercityOrder {
  String id;
  String passengerId;
  String driverId;
  String driverName;
  String depLongitude;
  String depLatitude;
  String depAre;
  String depTime;
  String destLongitude;
  String destLatitude;
  String destArea;
  String destTime;
  String driveMile;
  String driveTime;
  String factPrice;
  String benfitPrice;
  String payState;
  String payTime;
  Null trid;
  String receiveTime;
  String sumCost;
  String startCost;
  String timeCost;
  String distanceCost;
  String status;
  String orderType;
  String updateTime;
  String passengerName;
  String passengerHeadimgurl;
  String passengerMobile;
  String lastNum;
  num peopleNumber;

  DriverGetIntercityOrder(
      {this.id,
      this.passengerId,
      this.driverId,
      this.driverName,
      this.depLongitude,
      this.depLatitude,
      this.depAre,
      this.depTime,
      this.destLongitude,
      this.destLatitude,
      this.destArea,
      this.destTime,
      this.driveMile,
      this.driveTime,
      this.factPrice,
      this.benfitPrice,
      this.payState,
      this.payTime,
      this.trid,
      this.receiveTime,
      this.sumCost,
      this.startCost,
      this.timeCost,
      this.distanceCost,
      this.status,
      this.orderType,
      this.updateTime,
      this.passengerName,
      this.passengerHeadimgurl,
      this.passengerMobile,
      this.lastNum,
      this.peopleNumber});

  DriverGetIntercityOrder.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    passengerId = json['passenger_id'];
    driverId = json['driver_id'];
    driverName = json['driver_name'];
    depLongitude = json['dep_longitude'];
    depLatitude = json['dep_latitude'];
    depAre = json['dep_are'];
    depTime = json['dep_time'];
    destLongitude = json['dest_longitude'];
    destLatitude = json['dest_latitude'];
    destArea = json['dest_area'];
    destTime = json['dest_time'];
    driveMile = json['drive_mile'];
    driveTime = json['drive_time'];
    factPrice = json['fact_price'];
    benfitPrice = json['benfit_price'];
    payState = json['pay_state'];
    payTime = json['pay_time'];
    trid = json['trid'];
    receiveTime = json['receive_time'];
    sumCost = json['sum_cost'];
    startCost = json['start_cost'];
    timeCost = json['time_cost'];
    distanceCost = json['distance_cost'];
    status = json['status'];
    orderType = json['order_type'];
    updateTime = json['update_time'];
    passengerName = json['passenger_name'];
    passengerHeadimgurl = json['passenger_headimgurl'];
    passengerMobile = json['passenger_mobile'];
    lastNum = json['last_num'];
    peopleNumber = json['people_number'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['passenger_id'] = this.passengerId;
    data['driver_id'] = this.driverId;
    data['driver_name'] = this.driverName;
    data['dep_longitude'] = this.depLongitude;
    data['dep_latitude'] = this.depLatitude;
    data['dep_are'] = this.depAre;
    data['dep_time'] = this.depTime;
    data['dest_longitude'] = this.destLongitude;
    data['dest_latitude'] = this.destLatitude;
    data['dest_area'] = this.destArea;
    data['dest_time'] = this.destTime;
    data['drive_mile'] = this.driveMile;
    data['drive_time'] = this.driveTime;
    data['fact_price'] = this.factPrice;
    data['benfit_price'] = this.benfitPrice;
    data['pay_state'] = this.payState;
    data['pay_time'] = this.payTime;
    data['trid'] = this.trid;
    data['receive_time'] = this.receiveTime;
    data['sum_cost'] = this.sumCost;
    data['start_cost'] = this.startCost;
    data['time_cost'] = this.timeCost;
    data['distance_cost'] = this.distanceCost;
    data['status'] = this.status;
    data['order_type'] = this.orderType;
    data['update_time'] = this.updateTime;
    data['passenger_name'] = this.passengerName;
    data['passenger_headimgurl'] = this.passengerHeadimgurl;
    data['passenger_mobile'] = this.passengerMobile;
    data['last_num'] = this.lastNum;
    data['people_number'] = this.peopleNumber;
    return data;
  }
}
